package com.gxar.quick.ar.server.base.model.material.vo.response;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @author nice
 * @version 1.0
 * @created 2023/11/14.
 */
@Data
@ToString
@ApiModel("sketchfab用户授权返回值")
public class AuthSketchfabResponse {

    @JsonProperty("access_token")
    @JSONField(name = "access_token")
    @ApiModelProperty("访问token")
    private String accessToken;

    @JsonProperty("expires_in")
    @JSONField(name = "expires_in")
    @ApiModelProperty("过期时间")
    private Integer expiresIn;

    @JsonProperty("token_type")
    @JSONField(name = "token_type")
    @ApiModelProperty("token类型")
    private String tokenType;

    @ApiModelProperty("作用范围")
    private String scope;

    @JsonProperty("refresh_token")
    @JSONField(name = "refresh_token")
    @ApiModelProperty("刷新token")
    private String refreshToken;
}
